import request from '@/utils/request'

export function getBannerAPI(data={}){
  const {distributionSite='1'}=data
  return request({
    url:'home/banner',
    data:{
      distributionSite
    }
  })
}
export function findNewAPI(){
  return request({
    url:'/home/new'
  })
}

export function getHotAPI(data){
  return request({
    url:'home/hot',
    method:'GET',
    data
  })
}
export const getGoodsAPI = () => {
  return request({
    url: '/home/goods'
  })
}

'home/hot'
